aio: initialize kiocb private in case any filesystems expect it.
authorMike Marshall <hubcap@omnibond.com>
Tue, 5 Feb 2019 19:13:35 +0000 (14:13 -0500)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 15 May 2019 22:07:16 +0000 (23:07 +0100)
commitc49a684bf2a66f47d4f8fd7ebb649042667ae11f
treeb293e3b2998f8b065faacf4ba547d3707c6fe67b
parentee2c9f59884c1ec3aa1c3eb487e2a6140102f5c0
aio: initialize kiocb private in case any filesystems expect it.

commit ec51f8ee1e63498e9f521ec0e5a6d04622bb2c67 upstream.

A recent optimization had left private uninitialized.

Fixes: 2bc4ca9bb600 ("aio: don't zero entire aio_kiocb aio_get_req()")
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Cc: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Gbp-Pq: Topic bugfix/all
Gbp-Pq: Name 0008-aio-initialize-kiocb-private-in-case-any-filesystems.patch
fs/aio.c